<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>PAM示例</title>
<script type="text/javascript" src="js/pam.js">
</script>

<script type="text/javascript">

function showBookList1() {
	paintComponent("book-list","servlet/book/service?pamlet=1","xsl/BookList1.xsl");
}

function showBookList2() {
	paintComponent("book-list","servlet/book/service?pamlet=1","xsl/BookList2.xsl");
}



</script>


</head>
<body onload="javascript:showBookList1();">
<div><a href="javascript:showBookList1();">表格显示</a> <a
	href="javascript:showBookList2();">列表显示</a></div>
<br/>
<div id="book-list" style="height:400px;width:500px;"></div>
</body>
</html>